﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="hrAnnounce.aspx.cs" Inherits="ZX.WebApp.DeskTop.DeskTopItem.hrAnnounce" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/yahoo/yahoo.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/event/event-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/connection/connection-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/element/element-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/datasource/datasource-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/json/json-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/connection/connection-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/get/get-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/dragdrop/dragdrop-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/calendar/calendar-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/datatable/datatable-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/layout/layout-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/button/button-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/container/container-min.js"></script>
    <script type="text/javascript" src="../../Scripts/yui_2.9.0/build/resize/resize-min.js"></script>
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/EasyUI/js/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../Scripts/Public.js" type="text/javascript"></script>
    <link href="../Form/styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/deskTopStyle.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        $(document).ready(function () {
            var type = getPar1("type");
            var url = "../../Extend/AjaxData/DataProcessin.aspx?action=Get&entity=hrAnnounce&type="+type+"&r=" + Math.random();
            YAHOO.util.Connect.asyncRequest('POST', url, {
                success: function (res) {
                    try {
                        if (type != "0" && type != null && type != "") {
                            $("#div").width(500);
                            $("#div").height(800);
                        }
                        $("#div").append(res.responseText);
                    }
                    catch (e) {

                    }
                    finally {
                    }
                },
                failure: function (error) {
                    alert("数据错误：" + error.statusText);
                }
            }, null);
        });

        var ShowHrAnnounce = function (title, announceId) {
            var type = getPar1("type");
            if (type == "0" || type == null || type=="") {
                parent.parent.addTabs(title, "http://" + this.location.host + "/EHR/ShowAnnounce.aspx?ID=" + announceId + "&r=" + Math.random() + "");
            }
            else {
                parent.parent.parent.addTabs(title, "http://" + this.location.host + "/EHR/ShowAnnounce.aspx?ID=" + announceId + "&r=" + Math.random() + "");
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="overflow:auto;width:100%;height:100%" id="div">
        
    </div>
    </form>
</body>
</html>